<template>
  <div class="qualitySafety_container">
    <div class="left_box">
      <div class="box">
        <h6>本地批发市场</h6>
        <div class="top">
          <div class="u2">
            <span :class="isShowA == 0 ? 'one' :'five'"
                  @click="bindClickA(0)">近一年</span>
            <span :class="isShowA == 1 ? 'one' :'five'"
                  @click="bindClickA(1)">近五年</span>
          </div>
        </div>
        <div id="three">
          <FoldedColumnMixing :option="optionOne"></FoldedColumnMixing>
        </div>
      </div>
      <div class="box">
        <h6>田头交易</h6>
        <div class="top">
          <div class="u2">
            <span :class="isShowB == 0 ? 'one' :'five'"
                  @click="bindClickB(0)">近一年</span>
            <span :class="isShowB == 1 ? 'one' :'five'"
                  @click="bindClickB(1)">近五年</span>
          </div>
        </div>
        <div id="three">
          <FoldedColumnMixing :option="optionTow"></FoldedColumnMixing>
        </div>
      </div>
      <div class="box">
        <h6>外来流入</h6>
        <div class="top">
          <div class="u2">
            <span :class="isShowC == 0 ? 'one' :'five'"
                  @click="bindClickC(0)">近一年</span>
            <span :class="isShowC == 1 ? 'one' :'five'"
                  @click="bindClickC(1)">近五年</span>
          </div>
        </div>
        <div id="three">
          <FoldedColumnMixing :option="optionThree"></FoldedColumnMixing>
        </div>
      </div>
    </div>
    <div class="center_box">
      <div class="statistics">
        <h6>汇总信息（近一年）</h6>
        <Statistics :option="option"></Statistics>
      </div>
      <div class="buttom">
        <h6>交易市场</h6>
        <div class="u2">
          <span :class="isShowF== 0 ? 'one' :'five'"
                @click="bindClickF(0)">外地流入</span>
          <span :class="isShowF == 1 ? 'one' :'five'"
                @click="bindClickF(1)">本地市场</span>
        </div>
      </div>
      <div class="map">
        <YunnanMap v-if="isShowF == 0"></YunnanMap>
        <TonghaiMap v-else></TonghaiMap>
      </div>
    </div>
    <div class="right_box">
      <div class="box">
        <h6>来源地占比图</h6>
        <div class="top">
          <div class="u2">
            <span :class="isShowD == 0 ? 'one' :'five'"
                  @click="bindClickD(0)">外地流入</span>
            <span :class="isShowD == 1 ? 'one' :'five'"
                  @click="bindClickD(1)">本地市场</span>
          </div>
        </div>
        <div id="three">
          <PieChart :option="originData"></PieChart>
        </div>
      </div>
      <div class="box">
        <h6>采购列表</h6>
        <div class="top">
          <div class="u2">
            <span :class="isShowE == 0 ? 'one' :'five'"
                  @click="bindClickE(0)">外地流入</span>
            <span :class="isShowE == 1 ? 'one' :'five'"
                  @click="bindClickE(1)">本地市场</span>
          </div>
        </div>
        <CcTable :headData="headData"
                 :tableData="tableData1"
                 :height="height2"
                 :height1="heig"
                 :height2="height4"
                 v-if="tableData1.length > 0">
        </CcTable>
      </div>

    </div>
  </div>
  <!-- <div class="content">
    <ul class="left">
      <li class="left-one">
        <div class="box">
          <h6>本地批发市场</h6>
          <div class="top">
            <div class="u2">
              <span :class="isShowA == 0 ? 'one' :'five'"
                    @click="bindClickA(0)">近一年</span>
              <span :class="isShowA == 1 ? 'one' :'five'"
                    @click="bindClickA(1)">近五年</span>
            </div>
          </div>
          <div id="three">
            <FoldedColumnMixing :option="optionOne"></FoldedColumnMixing>
          </div>
        </div>
      </li>
      <li class="left-one">
        <div class="box">
          <h6>田头交易</h6>
          <div class="top">
            <div class="u2">
              <span :class="isShowB == 0 ? 'one' :'five'"
                    @click="bindClickB(0)">近一年</span>
              <span :class="isShowB == 1 ? 'one' :'five'"
                    @click="bindClickB(1)">近五年</span>
            </div>
          </div>
          <div id="three">
            <FoldedColumnMixing :option="optionTow"></FoldedColumnMixing>
          </div>
        </div>

      </li>
      <li class="left-one">
        <div class="box">
          <h6>外来流入</h6>
          <div class="top">
            <div class="u2">
              <span :class="isShowC == 0 ? 'one' :'five'"
                    @click="bindClickC(0)">近一年</span>
              <span :class="isShowC == 1 ? 'one' :'five'"
                    @click="bindClickC(1)">近五年</span>
            </div>
          </div>
          <div id="three">
            <FoldedColumnMixing :option="optionThree"></FoldedColumnMixing>
          </div>
        </div>
      </li>
    </ul>
    <div class="center">
      <Statistics :option="option"></Statistics>
      <div class="buttom">
        <h6>交易市场</h6>
        <div class="u2">
          <span :class="isShowF== 0 ? 'one' :'five'"
                @click="bindClickF(0)">外地流入</span>
          <span :class="isShowF == 1 ? 'one' :'five'"
                @click="bindClickF(1)">本地市场</span>
        </div>
      </div>
      <div class="map">
        <YunnanMap v-if="isShowF == 0"></YunnanMap>
        <TonghaiMap v-else></TonghaiMap>
      </div>
    </div>
    <ul class="left">
      <li class="left-one">
        <div class="box">
          <h6>来源地占比图</h6>
          <div class="tops">
            <div class="u2s">
              <span :class="isShowD == 0 ? 'one' :'five'"
                    @click="bindClickD(0)">外地流入</span>
              <span :class="isShowD == 1 ? 'one' :'five'"
                    @click="bindClickD(1)">本地市场</span>
            </div>
          </div>
          <div id="three">
            <PieChart :option="originData"></PieChart>
          </div>
        </div>
      </li>
      <li class="left-tow">
        <div class="box">
          <h6>采购列表</h6>
          <div class="tops">
            <div class="u2s">
              <span :class="isShowE == 0 ? 'one' :'five'"
                    @click="bindClickE(0)">外地流入</span>
              <span :class="isShowE == 1 ? 'one' :'five'"
                    @click="bindClickE(1)">本地市场</span>
            </div>
          </div>
        </div>
        <CcTable :headData="headData"
                 :tableData="tableData1"
                 :height="height2"
                 :height1="heig"
                 :height2="height4"
                 v-if="tableData1.length > 0">
        </CcTable>
      </li>
    </ul>
  </div> -->
</template>

<script>
import { httpMarketLocalChart, httpMarketFieldChart, httpMarketNonlocalChart, httpProcurementMarketProportionChart, httpSourceSummaryInformationChart, httpProcurementMarketChart } from '@/common/api/api'
import FoldedColumnMixing from '../../components/foldedColumnMixing.vue'
import Statistics from '../../components/statistics.vue'
import CcTable from '../../components/cc-table.vue'
import TonghaiMap from '../../components/tonghaiMap.vue'
import PieChart from '../../components/pieChart.vue'
import YunnanMap from '../../components/yunnanMap.vue'
export default {
  components: {
    FoldedColumnMixing,
    Statistics,
    CcTable,
    TonghaiMap,
    PieChart,
    YunnanMap
  },
  data () {
    return {
      isShowA: 0,
      isShowB: 0,
      isShowC: 0,
      isShowD: 0,
      isShowE: 0,
      isShowF: 0,
      originData: [],
      option: [
        { id: 1, dataValue: '248.6', unit: '万吨', dataName: '近一年采购总量', color: 'color:#64B7EC' },
        { id: 2, dataValue: '39.48', unit: '亿元', dataName: '近一年采购总额', color: 'color:#F56E6A' },
        { id: 3, dataValue: '111.87', unit: '万吨', dataName: '近一年外采购总量', color: 'color:#F69E0D' },
        { id: 4, dataValue: '18.16', unit: '亿元', dataName: '近一年外采购总额', color: 'color:#6EC71E' },
      ],
      optionOne: {
        unitA: '单位：万吨',
        unitB: '单位: 亿元',
        nameA: '采购量',
        nameB: '采购价',
        maxA: 100,
        maxB: 10,
        intervalA: 20,
        intervalB: 2,
        colorA: 'rgba(100, 183, 236, 1)',
        colorB: 'rgba(72, 126, 234, 1)',
        brokenLineData: [],
        pieData: [],
        date: []
      },
      optionTow: {
        unitA: '单位：万吨',
        unitB: '单位: 亿元',
        nameA: '采购量',
        nameB: '采购价',
        maxA: 10,
        maxB: 1,
        intervalA: 2,
        intervalB: 0.2,
        colorA: 'rgba(129, 138, 248, 1)',
        colorB: 'rgba(72, 126, 234, 1)',
        brokenLineData: [],
        pieData: [],
        date: []
      },
      optionThree: {
        unitA: '单位：万吨',
        unitB: '单位: 亿元',
        nameA: '采购量',
        nameB: '采购价',
        maxA: 100,
        maxB: 10,
        intervalA: 20,
        intervalB: 2,
        colorA: 'rgba(246, 158, 13, 1)',
        colorB: 'rgba(72, 126, 234, 1)',
        brokenLineData: [9.86, 8.95, 9.55, 9.50, 9.56, 9.48, 8.64, 8.75, 9.16, 9.33, 9.50, 9.58],
        pieData: [1.50, 1.43, 1.49, 1.58, 1.46, 1.41, 1.40, 1.44, 1.53, 1.59, 1.65, 1.69],
        date: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']
      },
      headData: ['市场名称', '采购量(万吨）', '采购额(亿元）'],
      height2: { height: '65vh' },
      height4: { height: '86%' },
      heig: { height: '4%' },
      tableData1: [],
      marketLocalChart: {}
    }
  },
  methods: {
    bindClickA (e) {
      if (e == 0) {
        this.isShowA = e
        this.optionOne.maxA = 100
        this.optionOne.maxB = 10
        this.optionOne.intervalA = 20
        this.optionOne.intervalB = 2
        this.optionOne.date = this.marketLocalChart.dateListOneYear
        this.optionOne.brokenLineData = this.marketLocalChart.purchaseQuantityListOneYear
        this.optionOne.pieData = this.marketLocalChart.purchasePriceListOneYear
      } else {
        this.isShowA = e
        this.optionOne.maxA = 1000
        this.optionOne.maxB = 100
        this.optionOne.intervalA = 200
        this.optionOne.intervalB = 20
        this.optionOne.date = this.marketLocalChart.dateListFiveYear
        this.optionOne.brokenLineData = this.marketLocalChart.purchaseQuantityListFiveYear
        this.optionOne.pieData = this.marketLocalChart.purchasePriceListFiveYear
      }
    },
    bindClickB (e) {
      if (e == 0) {
        this.isShowB = e
        this.optionTow.maxA = 10
        this.optionTow.maxB = 1
        this.optionTow.intervalA = 2
        this.optionTow.intervalB = 0.2
        this.optionTow.date = this.marketFieldChart.dateListOneYear
        this.optionTow.brokenLineData = this.marketFieldChart.purchaseQuantityListOneYear
        this.optionTow.pieData = this.marketFieldChart.purchasePriceListOneYear
      } else {
        this.isShowB = e
        this.optionTow.maxA = 100
        this.optionTow.maxB = 10
        this.optionTow.intervalA = 20
        this.optionTow.intervalB = 2
        this.optionTow.date = this.marketFieldChart.dateListFiveYear
        this.optionTow.brokenLineData = this.marketFieldChart.purchaseQuantityListFiveYear
        this.optionTow.pieData = this.marketFieldChart.purchasePriceListFiveYear
      }
    },
    bindClickC (e) {
      if (e == 0) {
        this.isShowC = e
        this.optionThree.maxA = 100
        this.optionThree.maxB = 10
        this.optionThree.intervalA = 20
        this.optionThree.intervalB = 2
        this.optionThree.date = this.marketNonlocalChart.dateListOneYear
        this.optionThree.brokenLineData = this.marketNonlocalChart.purchaseQuantityListOneYear
        this.optionThree.pieData = this.marketNonlocalChart.purchasePriceListOneYear
      } else {
        this.isShowC = e
        this.optionThree.maxA = 1000
        this.optionThree.maxB = 100
        this.optionThree.intervalA = 200
        this.optionThree.intervalB = 20
        this.optionThree.date = this.marketNonlocalChart.dateListFiveYear
        this.optionThree.brokenLineData = this.marketNonlocalChart.purchaseQuantityListFiveYear
        this.optionThree.pieData = this.marketNonlocalChart.purchasePriceListFiveYear
      }
    },
    bindClickD (e) {
      if (e == 0) {
        this.isShowD = e
        this.originData = this.procurementMarket.marketNonLocal
      } else {
        this.isShowD = e
        this.originData = this.procurementMarket.marketLocal
      }
    },
    bindClickE (e) {
      if (e == 0) {
        this.isShowE = e
        this.tableData1 = this.procurementMarket.marketNonLocal
      } else {
        this.isShowE = e
        this.tableData1 = this.procurementMarket.marketLocal
      }
    },
    bindClickF (e) {
      if (e == 0) {
        this.isShowF = e
      } else {
        this.isShowF = e
      }
    },
    getMarketLocalChart () {
      httpMarketLocalChart().then(res => {
        const { marketLocalChart } = res.data
        this.marketLocalChart = marketLocalChart
        this.optionOne.date = marketLocalChart.dateListOneYear
        this.optionOne.brokenLineData = marketLocalChart.purchaseQuantityListOneYear
        this.optionOne.pieData = marketLocalChart.purchasePriceListOneYear
      })
    },
    getMarketFieldChart () {
      httpMarketFieldChart().then(res => {
        const { marketFieldChart } = res.data
        this.marketFieldChart = marketFieldChart
        this.optionTow.date = marketFieldChart.dateListOneYear
        this.optionTow.brokenLineData = marketFieldChart.purchaseQuantityListOneYear
        this.optionTow.pieData = marketFieldChart.purchasePriceListOneYear
      })
    },
    getMarketNonlocalChart () {
      httpMarketNonlocalChart().then(res => {
        const { marketNonlocalChart } = res.data
        this.marketNonlocalChart = marketNonlocalChart
        this.optionThree.date = marketNonlocalChart.dateListOneYear
        this.optionThree.brokenLineData = marketNonlocalChart.purchaseQuantityListOneYear
        this.optionThree.pieData = marketNonlocalChart.purchasePriceListOneYear
      })
    },
    getProcurementMarketProportionChart () {
      httpProcurementMarketProportionChart().then(res => {
        const { procurementMarket } = res.data
        this.procurementMarket = procurementMarket
        const arr = procurementMarket.marketNonLocal
        const arr1 = procurementMarket.marketLocal
        var keyMap = {
          "marketName": "name",
          "proportion": "value"
        };
        for (var i = 0; i < arr.length; i++) {
          var obj = arr[i];
          for (var key in obj) {
            var newKey = keyMap[key];
            if (newKey) {
              obj[newKey] = obj[key];
              delete obj[key];
            }
          }
        }
        for (var j = 0; j < arr1.length; j++) {
          var obj1 = arr1[j];
          for (var key1 in obj1) {
            var newKey1 = keyMap[key1];
            if (newKey1) {
              obj1[newKey1] = obj1[key1];
              delete obj1[key1];
            }
          }
        }
        this.originData = procurementMarket.marketNonLocal
      })
    },
    getSourceSummaryInformationChart () {
      httpSourceSummaryInformationChart().then(res => {
        console.log('resresres', res)
        const { sourceSummaryInformationList } = res.data
        for (var i = 0; i < this.option.length; i++) {
          for (var j = 0; j < sourceSummaryInformationList.length; j++) {
            var channe = sourceSummaryInformationList[j];
            channe['color'] = this.option[i]
          }
        }
        this.option = sourceSummaryInformationList
      })
    },
    getProcurementMarketChart () {
      httpProcurementMarketChart().then(res => {
        console.log(res);
        const { procurementMarket } = res.data
        console.log(procurementMarket);
        this.procurementMarket = procurementMarket
        this.tableData1 = procurementMarket.marketNonLocal
      })
    }
  },
  created () {
    this.getMarketLocalChart()
    this.getMarketFieldChart()
    this.getMarketNonlocalChart()
    this.getProcurementMarketProportionChart()
    this.getSourceSummaryInformationChart()
    this.getProcurementMarketChart()
  },
  mounted () {

  }
}
</script>

<style lang="scss" scoped>
.qualitySafety_container {
  height: 95.26%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  .left_box {
    width: calc(100% - 1.56% - 74%);
    height: 100%;
    .box {
      margin-bottom: 0.125rem;
      background-color: #fff;
      padding-top: 0.25rem;
      h6 {
        border-left: 0.05rem solid #487eea;
        padding-left: 0.15rem;
        margin-left: 0.25rem;
      }
      .unit {
        display: flex;
        justify-content: space-around;
        padding-top: 0.125rem;
        span {
          font-size: 0.15rem;
          font-family: Source Han Sans CN;
          font-weight: 400;
          color: #666666;
        }
      }
      .map {
        display: flex;
        justify-content: space-between;
        #one {
          width: 2.5rem;
          height: 2.5rem;
        }
        #two {
          width: 2.5rem;
          height: 2.5rem;
        }
      }
      .top {
        position: relative;
        .u2 {
          position: absolute;
          right: 10%;
          bottom: -46;
          z-index: 9999;
          .one {
            width: 1rem;
            height: 0.325rem;
            background: #487eea;
            font-size: 0.175rem;
            font-family: Source Han Sans CN;
            font-weight: 500;
            color: #ffffff;
            border: 1px solid #e4e4e4;
            text-align: center;
            line-height: 0.325rem;
            border-left-style: none;
            padding: 0.05rem 0.075rem;
          }
          .five {
            width: 1rem;
            height: 0.325rem;
            background: #fff;
            font-size: 0.175rem;
            font-family: Source Han Sans CN;
            font-weight: 500;
            color: #666666;
            border: 1px solid #e4e4e4;
            text-align: center;
            line-height: 0.325rem;
            padding: 0.05rem 0.075rem;
          }
        }
      }
    }
  }
  .center_box {
    width: 50%;
    padding: 0 0.15rem 0.075rem 0.15rem;
    .statistics {
      padding-top: 0.25rem;
      background-color: #fff;
      h6 {
        border-left: 0.05rem solid #487eea;
        font-size: 0.225rem;
        color: #000;
        margin-left: 0.25rem;
        padding-left: 0.1125rem;
      }
    }
    .box {
      background-color: #fff;
      margin-bottom: 0.125rem;
      padding-top: 0.25rem;
      h6 {
        border-left: 0.05rem solid #487eea;
        font-size: 0.225rem;
        color: #000;
        margin-left: 0.25rem;
        padding-left: 0.1125rem;
      }
      .top {
        position: relative;
        .u2 {
          position: absolute;
          right: 10%;
          bottom: -46;
          z-index: 9999;
          .one {
            width: 1rem;
            height: 0.325rem;
            background: #487eea;
            font-size: 0.175rem;
            font-family: Source Han Sans CN;
            font-weight: 500;
            color: #ffffff;
            border: 1px solid #e4e4e4;
            text-align: center;
            line-height: 0.325rem;
            border-left-style: none;
            padding: 0.05rem 0.075rem;
          }
          .five {
            width: 1rem;
            height: 0.325rem;
            background: #fff;
            font-size: 0.175rem;
            font-family: Source Han Sans CN;
            font-weight: 500;
            color: #666666;
            border: 1px solid #e4e4e4;
            text-align: center;
            line-height: 0.325rem;
            padding: 0.05rem 0.075rem;
          }
        }
      }
    }
    .buttom {
      background-color: #fff;
      padding-top: 0.25rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      h6 {
        border-left: 0.05rem solid #487eea;
        font-size: 0.225rem;
        color: #000;
        margin-left: 0.25rem;
        padding-left: 0.1125rem;
      }
      .u2 {
        padding-right: 0.625rem;
        .one {
          width: 1rem;
          height: 0.325rem;
          background: #487eea;
          font-size: 0.175rem;
          font-family: Source Han Sans CN;
          font-weight: 500;
          color: #ffffff;
          border: 1px solid #e4e4e4;
          text-align: center;
          line-height: 0.325rem;
          border-left-style: none;
          padding: 0.05rem 0.075rem;
        }
        .five {
          width: 1rem;
          height: 0.325rem;
          background: #fff;
          font-size: 14px;
          font-family: Source Han Sans CN;
          font-weight: 500;
          color: #666666;
          border: 1px solid #e4e4e4;
          text-align: center;
          line-height: 0.325rem;
          padding: 0.05rem 0.075rem;
        }
      }
    }
    .map {
      background-color: #fff;
    }
  }
  .right_box {
    width: calc(100% - 1.56% - 74%);
    height: 100%;
    .box {
      margin-bottom: 0.125rem;
      background-color: #fff;
      padding-top: 0.25rem;
      h6 {
        border-left: 0.05rem solid #487eea;
        padding-left: 0.15rem;
        margin-left: 0.25rem;
      }
      .top {
        position: relative;
        .u2 {
          position: absolute;
          right: 10%;
          bottom: 0;
          z-index: 9999;
          .one {
            width: 1rem;
            height: 0.325rem;
            background: #487eea;
            font-size: 0.175rem;
            font-family: Source Han Sans CN;
            font-weight: 500;
            color: #ffffff;
            border: 1px solid #e4e4e4;
            text-align: center;
            line-height: 0.325rem;
            border-left-style: none;
            padding: 0.05rem 0.075rem;
          }
          .five {
            width: 1rem;
            height: 0.325rem;
            background: #fff;
            font-size: 0.175rem;
            font-family: Source Han Sans CN;
            font-weight: 500;
            color: #666666;
            border: 1px solid #e4e4e4;
            text-align: center;
            line-height: 0.325rem;
            padding: 0.05rem 0.075rem;
          }
        }
      }
    }
  }
}
/* .content {
  display: flex;
  overflow: hidden;
}
.content .center .buttom {
  margin-left: 0.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.content .center .map {
  width: 100%;
  height: 100%;
}
.buttom .u2 {
  padding-right: 0.625rem;
}
.buttom .u2 .one {
  width: 1rem;
  height: 0.325rem;
  background: #487eea;
  font-size: 0.175rem;
  font-family: Source Han Sans CN;
  font-weight: 500;
  color: #ffffff;
  border: 1px solid #e4e4e4;
  text-align: center;
  line-height: 0.325rem;
  border-left-style: none;
  padding: 0.05rem 0.075rem;
}
.buttom .u2 .five {
  width: 1rem;
  height: 0.325rem;
  background: #fff;
  font-size: 14px;
  font-family: Source Han Sans CN;
  font-weight: 500;
  color: #666666;
  border: 1px solid #e4e4e4;
  text-align: center;
  line-height: 0.325rem;
  padding: 0.05rem 0.075rem;
}
.content .center .buttom h6 {
  border-left: 0.05rem solid #487eea;
  padding-left: 0.15rem;
}
.content .left {
  box-sizing: content-box;
  box-sizing: border-box;
  width: 5.5rem;
}
.left-one {
  height: 33.33%;
  background: #ffffff;
  margin-top: 10px;
}
.left-tow {
  height: 100vh;
  background: #ffffff;
  margin-top: 10px;
}
.left-tow .box h6 {
  border-left: 0.05rem solid #487eea;
  padding-left: 0.15rem;
}
.left-tow .box {
  padding-top: 0.25rem;
  margin-left: 0.15rem;
}
.left-one .box {
  padding-top: 0.25rem;
  margin-left: 0.15rem;
}
.left-one .box h6 {
  border-left: 0.05rem solid #487eea;
  padding-left: 0.15rem;
}
.left-one .box .unit {
  padding-top: 0.375rem;
  display: flex;
  justify-content: space-around;
}
.left-one .box .map {
  display: flex;
  justify-content: space-between;
}
.left-one .box .map #one {
  width: 2.5rem;
  height: 2.5rem;
}
.left-one .box .map #two {
  width: 2.5rem;
  height: 2.5rem;
}
.left-one .box #three {
  height: 4.375rem;
}

.right-one {
  height: 4rem;
  background: #ffffff;
  margin-top: 0.125rem;
}
.content .center {
  flex: 1;
  background: #ffffff;
  margin: 0.125rem;
}
.left-one .box .top {
  display: flex;
  justify-content: space-between;
  padding-top: 0.225rem;
  padding-right: 0.25rem;
}
.box .top {
  position: relative;
}
.left-one .box .top .u1 {
  font-size: 0.15rem;
  font-family: Source Han Sans CN;
  font-weight: 400;
  color: #666666;
}
.box .top .u2 {
  position: absolute;
  left: 31%;
  bottom: -46;
  z-index: 9999;
}
.box .top .u2 .one {
  width: 1rem;
  height: 0.325rem;
  background: #487eea;
  font-size: 14px;
  font-family: Source Han Sans CN;
  font-weight: 500;
  color: #ffffff;
  border: 1px solid #e4e4e4;
  text-align: center;
  line-height: 0.325rem;
  border-left-style: none;
  padding: 0.05rem 0.075rem;
}
.box .top .u2 .five {
  width: 1rem;
  height: 0.325rem;
  background: #fff;
  font-size: 0.175rem;
  font-family: Source Han Sans CN;
  font-weight: 500;
  color: #666666;
  border: 1px solid #e4e4e4;
  text-align: center;
  line-height: 0.325rem;
  padding: 0.05rem 0.075rem;
}
.box .tops {
  position: relative;
}
.box .tops .u2s {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 9999;
}
.box .tops .u2s .one {
  width: 1rem;
  height: 0.325rem;
  background: #487eea;
  font-size: 14px;
  font-family: Source Han Sans CN;
  font-weight: 500;
  color: #ffffff;
  border: 1px solid #e4e4e4;
  text-align: center;
  line-height: 0.325rem;
  border-left-style: none;
  padding: 0.05rem 0.075rem;
}
.box .tops .u2s .five {
  width: 1rem;
  height: 0.325rem;
  background: #fff;
  font-size: 0.175rem;
  font-family: Source Han Sans CN;
  font-weight: 500;
  color: #666666;
  border: 1px solid #e4e4e4;
  text-align: center;
  line-height: 0.325rem;
  padding: 0.05rem 0.075rem;
} */
</style>
